package com.xydc.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

import org.hibernate.annotations.GenericGenerator;

/**
 * Executer entity.
 * 
 * @author MyEclipse Persistence Tools
 */
@Entity
public class Executer implements java.io.Serializable {

	// Fields

	private String id;
	private String userId;
	private String adj;
	private String comment;
	private String restaurantId;
	private Long ordertime;

	// Constructors

	/** default constructor */
	public Executer() {
	}

	/** full constructor */
	public Executer(String userId, String adj, String comment,
			String restaurantId, Long ordertime) {
		this.userId = userId;
		this.adj = adj;
		this.comment = comment;
		this.restaurantId = restaurantId;
		this.ordertime = ordertime;
	}

	// Property accessors
	@Id
	@GeneratedValue(generator="userinfo_id")
	@GenericGenerator(name="userinfo_id",strategy="uuid")
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getAdj() {
		return this.adj;
	}

	public void setAdj(String adj) {
		this.adj = adj;
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getRestaurantId() {
		return this.restaurantId;
	}

	public void setRestaurantId(String restaurantId) {
		this.restaurantId = restaurantId;
	}

	public Long getOrdertime() {
		return this.ordertime;
	}

	public void setOrdertime(Long ordertime) {
		this.ordertime = ordertime;
	}

}